package cn.rkylin.oms.warehouse.returnStockin.dao;

import cn.rkylin.oms.warehouse.returnStockin.domain.ReturnStockin;
import cn.rkylin.oms.warehouse.returnStockin.vo.ReturnStockinVO;

/**
 * 退货入库单DAO
 *
 * @author 齐涛
 * @version 1.0
 * @created 28-9-2017 10:51:30
 */
public interface ReturnStockinDAO {

    /**
     * 查询退货入库单信息
     *
     * @param returnStockinVO 退货入库单VO
     * @return 退货入库单信息
     * @throws Exception 异常
     */
    public ReturnStockinVO getReturnStockinInfo(ReturnStockinVO returnStockinVO) throws Exception;

    /**
     * 更新退货入库单
     *
     * @param returnStockin 退货入库单bean
     * @return 更新条数
     * @throws Exception 异常
     */
    public int updateReturnStockin(ReturnStockin returnStockin) throws Exception;

    /**
     * 通过来源ID获取退货入库单信息 wangxing add
     *
     * @param strSourceId
     * @return
     * @throws Exception
     */
    public ReturnStockinVO getReturnStockInInfoBySourceId(String strSourceId) throws Exception;

}
